package com.example.customer.service.impl;

import com.example.customer.mapper.recognizeeMapper;
import com.example.customer.service.recognizeeService;
import entity.recognizee_info;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class recognizeeServiceimpl implements recognizeeService {

    @Autowired
    private recognizeeMapper recognizeeMapper;

    @Override
    public int addRecognizeeinfo(recognizee_info r) {
        return this.recognizeeMapper.addRecognizeeinfo(r);
    }

    @Override
    public int upRecognizeeinfo(recognizee_info r) {
        return this.recognizeeMapper.upRecognizeeinfo(r);
    }

    @Override
    public recognizee_info getRecognizeeinfo(int id) {
        return this.recognizeeMapper.getRecognizeeinfo(id);
    }

    @Override
    public int delRecognizeeinfo(int id) {
        return this.recognizeeMapper.delRecognizeeinfo(id);
    }
}
